Automattic\WooCommerce\Internal\Logging\RemoteLogger B

Total Complexity 76
Dependencies 10
Dependents 3
Total lines 484
Lines of code 247
Logical lines of code 136
Comment lines 168
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_formatted_log()
A
43 13 41
is_third_party_error()
A
53 12 21
should_handle()
A
51 8 26
log()
A
48 7 33
fetch_new_woocommerce_version()
A
56 8 18
sanitize_trace()
S
54 6 23
is_remote_logging_allowed()
S
60 5 15
sanitize_request_uri()
S
51 4 27
should_current_version_be_logged()
S
62 4 11
build_url()
S
68 3 6
sanitize()
S
61 2 13
handle()
S
70 2 6
is_variant_assignment_allowed()
S
75 1 4
is_dev_or_local_environment()
S
78 1 3